import path from 'path'

export default {
  mode: 'development',
  devtool: 'eval-source-map',
  module: {
    rules: [{
      test: /\.js$/,
      loader: 'babel-loader',
      exclude: /node_modules/
    },{
                test : /\.json$/,
                loader : 'json-loader'
            }]
  },
  resolve: {
    alias: {
      'cess-react': path.join(__dirname, '/src'),
      'cess-core': path.join(__dirname, '../cess-core/src'),
    }
  }
}
